

/*
 * MainFrame.java
 *
 * Created on 2011-12-11, 20:27:11
 */
package iobankapi;

import java.awt.Color;
import java.util.Map;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.TreeSelectionModel;
import userfunctions.Administrator;
import userfunctions.Client;
import userfunctions.Person;

/**
 * Główne okno aplikacji
 * @author Kamil Sobala
 */
public class MainFrame extends javax.swing.JFrame {
    //Klient, bankier lub admin
    private Person person;
    //null jesli person == client
    private Client client;
    private String whoIsUser;
    private Map daneUzytkownika;
    /**
     * Konstruktor wywołujący metodę initComponents
     */
    public MainFrame(Person person) {
        this.person = person;
        whoIsUser = whoIs(person);
        
        initComponents();
        userInitComponents(whoIsUser);   
        setLocationRelativeTo(null);
        setResizable(false);
        //panelWarstwowy.moveToFront(this);
    }
    private String whoIs(Person person){
        if(person instanceof Client){
            
            return "Klient";
        }
        else if(person instanceof Administrator){
                return "Admin";
                
            }
        else{
            return "Bankier";
        }
    }
    private void userInitComponents(String who){
        DefaultTreeCellRenderer renderer = new DefaultTreeCellRenderer();
        ImageIcon strzalka = new ImageIcon("strzalka.gif");
        renderer.setClosedIcon(strzalka);
        renderer.setOpenIcon(strzalka);
        
        menuTreeR.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        menuTreeR.setShowsRootHandles(false);
        menuTreeR.setRootVisible(false);
        menuTreeR.setCellRenderer(renderer);
        
        menuTreeTK.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        menuTreeTK.setShowsRootHandles(false);
        menuTreeTK.setRootVisible(false);
        menuTreeTK.setCellRenderer(renderer);
        
        menuTreeDK.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        menuTreeDK.setShowsRootHandles(false);
        menuTreeDK.setRootVisible(false);
        menuTreeDK.setCellRenderer(renderer);
      
        menuTreeKK.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
        menuTreeKK.setShowsRootHandles(false);
        menuTreeKK.setRootVisible(false);
        menuTreeKK.setCellRenderer(renderer);
        
        
        if(who.equals("Klient")){
            panelWarstwowy.moveToFront(klientPanel);
            daneUzytkownika = ((Client)person).pobierzDaneUzytkownika();
            nazwaUzytkownikaLabel.setText((String)daneUzytkownika.get("imie_") + " " +(String)daneUzytkownika.get("nazwisko_"));
            nazwaUzytkownikaLabel.setForeground(Color.red);
        }
        else if(who.equals("Bankier")){
           
            panelWarstwowy.moveToFront(bankierPanel);
            bankierNazwaLabel.setText(person.getUserId());
            bankierNazwaLabel.setForeground(Color.red);
            
        }
        else{
            panelWarstwowy.moveToFront(adminPanel);
        }
    }
  /**
     * Metoda inicjalizująca kontrolni GUI, generowana przez Designera.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new javax.swing.ButtonGroup();
        panelWarstwowy = new javax.swing.JLayeredPane();
        klientPanel = new javax.swing.JPanel();
        LogOutBtn = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        nazwaUzytkownikaLabel = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        rachunkiPane = new javax.swing.JSplitPane();
        jPanel2 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        menuTreeR = new javax.swing.JTree();
        transakcjePane = new javax.swing.JSplitPane();
        jScrollPane27 = new javax.swing.JScrollPane();
        menuTreeTK = new javax.swing.JTree();
        transakcjePanel = new javax.swing.JLayeredPane();
        panelPusty = new javax.swing.JPanel();
        panelPrzelew = new javax.swing.JPanel();
        jLabel45 = new javax.swing.JLabel();
        kontoTCombo = new javax.swing.JComboBox();
        jLabel46 = new javax.swing.JLabel();
        kontoDestTextField = new javax.swing.JTextField();
        jLabel47 = new javax.swing.JLabel();
        kwotaTextField = new javax.swing.JTextField();
        wykPrzelBtn = new javax.swing.JButton();
        jSplitPane3 = new javax.swing.JSplitPane();
        jPanel4 = new javax.swing.JPanel();
        jScrollPane28 = new javax.swing.JScrollPane();
        menuTreeDK = new javax.swing.JTree();
        kontaktSplitPane = new javax.swing.JSplitPane();
        jScrollPane29 = new javax.swing.JScrollPane();
        menuTreeKK = new javax.swing.JTree();
        kontaktLayeredPane = new javax.swing.JLayeredPane();
        panelPustyKontakt = new javax.swing.JPanel();
        panelZgloszenie = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jScrollPane5 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jRadioButton3 = new javax.swing.JRadioButton();
        kontaktWyslijBtn = new javax.swing.JButton();
        bankierPanel = new javax.swing.JPanel();
        LogOutBtn1 = new javax.swing.JButton();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        bankierNazwaLabel = new javax.swing.JLabel();
        bankierTabbedPane = new javax.swing.JTabbedPane();
        zarzSplitPane = new javax.swing.JSplitPane();
        jPanel6 = new javax.swing.JPanel();
        jScrollPane6 = new javax.swing.JScrollPane();
        menuTreeZ = new javax.swing.JTree();
        operacjeSplitPane = new javax.swing.JSplitPane();
        jScrollPane8 = new javax.swing.JScrollPane();
        menuTreeO = new javax.swing.JTree();
        operacjeLayeredPane = new javax.swing.JLayeredPane();
        panelPustyOper = new javax.swing.JPanel();
        panelOperWpl = new javax.swing.JPanel();
        operNrKontText2 = new javax.swing.JTextField();
        operWykonajWpBtn = new javax.swing.JButton();
        jTextField4 = new javax.swing.JTextField();
        jLabel16 = new javax.swing.JLabel();
        jLabel49 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        panelOperWypl = new javax.swing.JPanel();
        operNrKontText1 = new javax.swing.JTextField();
        operWykonajWypBtn = new javax.swing.JButton();
        jTextField3 = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel48 = new javax.swing.JLabel();
        adminPanel = new javax.swing.JPanel();
        LogOutBtn2 = new javax.swing.JButton();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jTabbedPane3 = new javax.swing.JTabbedPane();
        jSplitPane9 = new javax.swing.JSplitPane();
        jPanel10 = new javax.swing.JPanel();
        jScrollPane11 = new javax.swing.JScrollPane();
        menuTreeR2 = new javax.swing.JTree();
        jSplitPane10 = new javax.swing.JSplitPane();
        jScrollPane12 = new javax.swing.JScrollPane();
        jList8 = new javax.swing.JList();
        jPanel11 = new javax.swing.JPanel();
        jSplitPane11 = new javax.swing.JSplitPane();
        jScrollPane13 = new javax.swing.JScrollPane();
        jList9 = new javax.swing.JList();
        jPanel12 = new javax.swing.JPanel();
        jSplitPane12 = new javax.swing.JSplitPane();
        jScrollPane14 = new javax.swing.JScrollPane();
        jList10 = new javax.swing.JList();
        jPanel13 = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        jComboBox3 = new javax.swing.JComboBox();
        jScrollPane15 = new javax.swing.JScrollPane();
        jTextArea3 = new javax.swing.JTextArea();
        jRadioButton7 = new javax.swing.JRadioButton();
        jRadioButton8 = new javax.swing.JRadioButton();
        jRadioButton9 = new javax.swing.JRadioButton();
        adminKlientPanel = new javax.swing.JPanel();
        LogOutBtn3 = new javax.swing.JButton();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jTabbedPane4 = new javax.swing.JTabbedPane();
        jSplitPane13 = new javax.swing.JSplitPane();
        jPanel14 = new javax.swing.JPanel();
        jScrollPane16 = new javax.swing.JScrollPane();
        menuTreeR3 = new javax.swing.JTree();
        jSplitPane14 = new javax.swing.JSplitPane();
        jScrollPane17 = new javax.swing.JScrollPane();
        jList11 = new javax.swing.JList();
        jPanel15 = new javax.swing.JPanel();
        jSplitPane15 = new javax.swing.JSplitPane();
        jScrollPane18 = new javax.swing.JScrollPane();
        jList12 = new javax.swing.JList();
        jPanel16 = new javax.swing.JPanel();
        jSplitPane16 = new javax.swing.JSplitPane();
        jScrollPane19 = new javax.swing.JScrollPane();
        jList13 = new javax.swing.JList();
        jPanel17 = new javax.swing.JPanel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jLabel32 = new javax.swing.JLabel();
        jComboBox4 = new javax.swing.JComboBox();
        jScrollPane20 = new javax.swing.JScrollPane();
        jTextArea4 = new javax.swing.JTextArea();
        jRadioButton10 = new javax.swing.JRadioButton();
        jRadioButton11 = new javax.swing.JRadioButton();
        jRadioButton12 = new javax.swing.JRadioButton();
        jLabel43 = new javax.swing.JLabel();
        jLabel44 = new javax.swing.JLabel();
        bankierKlientPanel = new javax.swing.JPanel();
        LogOutBtn4 = new javax.swing.JButton();
        jLabel33 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jTabbedPane5 = new javax.swing.JTabbedPane();
        jSplitPane17 = new javax.swing.JSplitPane();
        jPanel18 = new javax.swing.JPanel();
        jScrollPane21 = new javax.swing.JScrollPane();
        menuTreeR4 = new javax.swing.JTree();
        jSplitPane18 = new javax.swing.JSplitPane();
        jScrollPane22 = new javax.swing.JScrollPane();
        jList14 = new javax.swing.JList();
        jPanel19 = new javax.swing.JPanel();
        jScrollPane26 = new javax.swing.JScrollPane();
        menuTreeT = new javax.swing.JTree();
        jSplitPane19 = new javax.swing.JSplitPane();
        jScrollPane23 = new javax.swing.JScrollPane();
        jList15 = new javax.swing.JList();
        jPanel20 = new javax.swing.JPanel();
        jSplitPane20 = new javax.swing.JSplitPane();
        jScrollPane24 = new javax.swing.JScrollPane();
        jList16 = new javax.swing.JList();
        jPanel21 = new javax.swing.JPanel();
        jLabel37 = new javax.swing.JLabel();
        jLabel38 = new javax.swing.JLabel();
        jLabel39 = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        jComboBox5 = new javax.swing.JComboBox();
        jScrollPane25 = new javax.swing.JScrollPane();
        jTextArea5 = new javax.swing.JTextArea();
        jRadioButton13 = new javax.swing.JRadioButton();
        jRadioButton14 = new javax.swing.JRadioButton();
        jRadioButton15 = new javax.swing.JRadioButton();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();

        buttonGroup1.add(jRadioButton1);
        buttonGroup1.add(jRadioButton2);
        buttonGroup1.add(jRadioButton3);

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        panelWarstwowy.setName("panelWarstwowy"); // NOI18N

        klientPanel.setName("klientPanel"); // NOI18N
        klientPanel.setVerifyInputWhenFocusTarget(false);

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(iobankapi.IObankAPIApp.class).getContext().getResourceMap(MainFrame.class);
        LogOutBtn.setText(resourceMap.getString("LogOutBtn.text")); // NOI18N
        LogOutBtn.setName("LogOutBtn"); // NOI18N
        LogOutBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogOutBtnActionPerformed(evt);
            }
        });

        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jLabel2.setForeground(resourceMap.getColor("jLabel2.foreground")); // NOI18N
        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        nazwaUzytkownikaLabel.setForeground(resourceMap.getColor("nazwaUzytkownikaLabel.foreground")); // NOI18N
        nazwaUzytkownikaLabel.setText(resourceMap.getString("nazwaUzytkownikaLabel.text")); // NOI18N
        nazwaUzytkownikaLabel.setName("nazwaUzytkownikaLabel"); // NOI18N

        jTabbedPane1.setName("jTabbedPane1"); // NOI18N

        rachunkiPane.setDividerLocation(130);
        rachunkiPane.setDividerSize(2);
        rachunkiPane.setName("rachunkiPane"); // NOI18N

        jPanel2.setName("jPanel2"); // NOI18N

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 485, Short.MAX_VALUE)
        );

        rachunkiPane.setRightComponent(jPanel2);

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        javax.swing.tree.DefaultMutableTreeNode treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        javax.swing.tree.DefaultMutableTreeNode treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Pokaż");
        javax.swing.tree.DefaultMutableTreeNode treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Stan Kont");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Stan Lokat");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Utwórz");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Nowe Konto");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Nowa Lokata");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Historia");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Historia Konta");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Historia Lokat");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        menuTreeR.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeR.setName("MenuTree"); // NOI18N
        jScrollPane1.setViewportView(menuTreeR);

        rachunkiPane.setLeftComponent(jScrollPane1);

        jTabbedPane1.addTab(resourceMap.getString("rachunkiPane.TabConstraints.tabTitle"), rachunkiPane); // NOI18N

        transakcjePane.setDividerLocation(130);
        transakcjePane.setDividerSize(2);
        transakcjePane.setName("transakcjePane"); // NOI18N

        jScrollPane27.setName("jScrollPane27"); // NOI18N

        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("zlecenia");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("zlecenie stałe");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("przelew");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("przelew zewnętrzny");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("przelew wewnętrzny");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        menuTreeTK.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeTK.setName("menuTreeTK"); // NOI18N
        menuTreeTK.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                menuTreeTKValueChanged(evt);
            }
        });
        jScrollPane27.setViewportView(menuTreeTK);

        transakcjePane.setLeftComponent(jScrollPane27);

        transakcjePanel.setName("transakcjePanel"); // NOI18N

        panelPusty.setName("panelPusty"); // NOI18N

        javax.swing.GroupLayout panelPustyLayout = new javax.swing.GroupLayout(panelPusty);
        panelPusty.setLayout(panelPustyLayout);
        panelPustyLayout.setHorizontalGroup(
            panelPustyLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 740, Short.MAX_VALUE)
        );
        panelPustyLayout.setVerticalGroup(
            panelPustyLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );

        panelPusty.setBounds(0, 0, 740, 400);
        transakcjePanel.add(panelPusty, new Integer(10));

        panelPrzelew.setName("panelPrzelew"); // NOI18N

        jLabel45.setText(resourceMap.getString("jLabel45.text")); // NOI18N
        jLabel45.setName("jLabel45"); // NOI18N

        kontoTCombo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "konto 1", "konto 2", "konto 3" }));
        kontoTCombo.setName("kontoTCombo"); // NOI18N

        jLabel46.setText(resourceMap.getString("jLabel46.text")); // NOI18N
        jLabel46.setName("jLabel46"); // NOI18N

        kontoDestTextField.setText(resourceMap.getString("kontoDestTextField.text")); // NOI18N
        kontoDestTextField.setName("kontoDestTextField"); // NOI18N

        jLabel47.setText(resourceMap.getString("jLabel47.text")); // NOI18N
        jLabel47.setName("jLabel47"); // NOI18N

        kwotaTextField.setText(resourceMap.getString("kwotaTextField.text")); // NOI18N
        kwotaTextField.setName("kwotaTextField"); // NOI18N

        wykPrzelBtn.setText(resourceMap.getString("wykPrzelBtn.text")); // NOI18N
        wykPrzelBtn.setName("wykPrzelBtn"); // NOI18N
        wykPrzelBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                wykPrzelBtnActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelPrzelewLayout = new javax.swing.GroupLayout(panelPrzelew);
        panelPrzelew.setLayout(panelPrzelewLayout);
        panelPrzelewLayout.setHorizontalGroup(
            panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelPrzelewLayout.createSequentialGroup()
                .addContainerGap(118, Short.MAX_VALUE)
                .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel45)
                    .addComponent(jLabel46)
                    .addGroup(panelPrzelewLayout.createSequentialGroup()
                        .addComponent(jLabel47)
                        .addGap(42, 42, 42)))
                .addGap(103, 103, 103)
                .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(kontoDestTextField)
                        .addComponent(kontoTCombo, javax.swing.GroupLayout.PREFERRED_SIZE, 329, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(kwotaTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(65, 65, 65))
            .addGroup(panelPrzelewLayout.createSequentialGroup()
                .addGap(313, 313, 313)
                .addComponent(wykPrzelBtn)
                .addContainerGap(344, Short.MAX_VALUE))
        );
        panelPrzelewLayout.setVerticalGroup(
            panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPrzelewLayout.createSequentialGroup()
                .addGap(103, 103, 103)
                .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel45)
                    .addComponent(kontoTCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(kontoDestTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel46))
                .addGap(18, 18, 18)
                .addGroup(panelPrzelewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel47)
                    .addComponent(kwotaTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 118, Short.MAX_VALUE)
                .addComponent(wykPrzelBtn)
                .addGap(43, 43, 43))
        );

        panelPrzelew.setBounds(0, 0, 740, 400);
        transakcjePanel.add(panelPrzelew, new Integer(9));

        transakcjePane.setRightComponent(transakcjePanel);

        jTabbedPane1.addTab(resourceMap.getString("transakcjePane.TabConstraints.tabTitle"), transakcjePane); // NOI18N

        jSplitPane3.setDividerLocation(130);
        jSplitPane3.setDividerSize(2);
        jSplitPane3.setName("jSplitPane3"); // NOI18N

        jPanel4.setName("jPanel4"); // NOI18N

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 485, Short.MAX_VALUE)
        );

        jSplitPane3.setRightComponent(jPanel4);

        jScrollPane28.setName("jScrollPane28"); // NOI18N

        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Kanały dostępu");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Zmiana hasła internetowego");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Narzędia autoryzacyjne");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Kody sms");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Token");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Karta kodów");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Dane osobowe");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Zmiana danych kontaktowych");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Profil inwestycyjny");
        treeNode1.add(treeNode2);
        menuTreeDK.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeDK.setName("menuTreeDK"); // NOI18N
        menuTreeDK.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                menuTreeDKValueChanged(evt);
            }
        });
        jScrollPane28.setViewportView(menuTreeDK);

        jSplitPane3.setLeftComponent(jScrollPane28);

        jTabbedPane1.addTab(resourceMap.getString("jSplitPane3.TabConstraints.tabTitle"), jSplitPane3); // NOI18N

        kontaktSplitPane.setDividerLocation(150);
        kontaktSplitPane.setDividerSize(2);
        kontaktSplitPane.setName("kontaktSplitPane"); // NOI18N

        jScrollPane29.setName("jScrollPane29"); // NOI18N

        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("Kontakt");
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Nowe zgłoszenie");
        treeNode1.add(treeNode2);
        menuTreeKK.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeKK.setName("menuTreeKK"); // NOI18N
        menuTreeKK.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                menuTreeKKValueChanged(evt);
            }
        });
        jScrollPane29.setViewportView(menuTreeKK);

        kontaktSplitPane.setLeftComponent(jScrollPane29);

        kontaktLayeredPane.setName("kontaktLayeredPane"); // NOI18N

        panelPustyKontakt.setName("panelPustyKontakt"); // NOI18N

        javax.swing.GroupLayout panelPustyKontaktLayout = new javax.swing.GroupLayout(panelPustyKontakt);
        panelPustyKontakt.setLayout(panelPustyKontaktLayout);
        panelPustyKontaktLayout.setHorizontalGroup(
            panelPustyKontaktLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 690, Short.MAX_VALUE)
        );
        panelPustyKontaktLayout.setVerticalGroup(
            panelPustyKontaktLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 410, Short.MAX_VALUE)
        );

        panelPustyKontakt.setBounds(0, 0, 690, 410);
        kontaktLayeredPane.add(panelPustyKontakt, new Integer(10));

        panelZgloszenie.setName("panelZgloszenie"); // NOI18N

        jLabel5.setFont(resourceMap.getFont("jLabel5.font")); // NOI18N
        jLabel5.setForeground(resourceMap.getColor("jLabel5.foreground")); // NOI18N
        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Wybierz", "Pytanie", "Reklamacja", "Skarga", "Wniosek", " " }));
        jComboBox1.setName("jComboBox1"); // NOI18N

        jScrollPane5.setName("jScrollPane5"); // NOI18N

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jTextArea1.setName("jTextArea1"); // NOI18N
        jScrollPane5.setViewportView(jTextArea1);

        jRadioButton1.setText(resourceMap.getString("Telefon.text")); // NOI18N
        jRadioButton1.setName("Telefon"); // NOI18N

        jRadioButton2.setText(resourceMap.getString("jRadioButton2.text")); // NOI18N
        jRadioButton2.setName("jRadioButton2"); // NOI18N

        jRadioButton3.setText(resourceMap.getString("jRadioButton3.text")); // NOI18N
        jRadioButton3.setName("jRadioButton3"); // NOI18N

        kontaktWyslijBtn.setText(resourceMap.getString("kontaktWyslijBtn.text")); // NOI18N
        kontaktWyslijBtn.setName("kontaktWyslijBtn"); // NOI18N
        kontaktWyslijBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                kontaktWyslijBtnActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelZgloszenieLayout = new javax.swing.GroupLayout(panelZgloszenie);
        panelZgloszenie.setLayout(panelZgloszenieLayout);
        panelZgloszenieLayout.setHorizontalGroup(
            panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelZgloszenieLayout.createSequentialGroup()
                .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addGap(36, 36, 36)
                        .addComponent(jLabel5))
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addGap(25, 25, 25)
                        .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel7)
                            .addComponent(jLabel6)
                            .addComponent(jLabel8))
                        .addGap(18, 18, 18)
                        .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton2)
                            .addComponent(jRadioButton1)
                            .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jRadioButton3)
                            .addComponent(kontaktWyslijBtn))))
                .addContainerGap(362, Short.MAX_VALUE))
        );
        panelZgloszenieLayout.setVerticalGroup(
            panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelZgloszenieLayout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addComponent(jLabel5)
                .addGap(48, 48, 48)
                .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addComponent(jLabel7))
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(panelZgloszenieLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(jLabel8))
                    .addGroup(panelZgloszenieLayout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(jRadioButton1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton2)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton3)
                .addGap(18, 18, 18)
                .addComponent(kontaktWyslijBtn)
                .addContainerGap(104, Short.MAX_VALUE))
        );

        panelZgloszenie.setBounds(0, 0, 683, 485);
        kontaktLayeredPane.add(panelZgloszenie, new Integer(9));

        kontaktSplitPane.setRightComponent(kontaktLayeredPane);

        jTabbedPane1.addTab(resourceMap.getString("kontaktSplitPane.TabConstraints.tabTitle"), kontaktSplitPane); // NOI18N

        javax.swing.GroupLayout klientPanelLayout = new javax.swing.GroupLayout(klientPanel);
        klientPanel.setLayout(klientPanelLayout);
        klientPanelLayout.setHorizontalGroup(
            klientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, klientPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(nazwaUzytkownikaLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 513, Short.MAX_VALUE)
                .addComponent(LogOutBtn))
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        klientPanelLayout.setVerticalGroup(
            klientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(klientPanelLayout.createSequentialGroup()
                .addGroup(klientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LogOutBtn)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3)
                    .addComponent(nazwaUzytkownikaLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1))
        );

        klientPanel.setBounds(0, 0, 841, 547);
        panelWarstwowy.add(klientPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        bankierPanel.setName("bankierPanel"); // NOI18N
        bankierPanel.setVerifyInputWhenFocusTarget(false);

        LogOutBtn1.setText(resourceMap.getString("LogOutBtn1.text")); // NOI18N
        LogOutBtn1.setName("LogOutBtn1"); // NOI18N
        LogOutBtn1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogOutBtn1ActionPerformed(evt);
            }
        });

        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jLabel10.setForeground(resourceMap.getColor("jLabel10.foreground")); // NOI18N
        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        bankierNazwaLabel.setForeground(resourceMap.getColor("bankierNazwaLabel.foreground")); // NOI18N
        bankierNazwaLabel.setText(resourceMap.getString("bankierNazwaLabel.text")); // NOI18N
        bankierNazwaLabel.setName("bankierNazwaLabel"); // NOI18N

        bankierTabbedPane.setName("bankierTabbedPane"); // NOI18N

        zarzSplitPane.setDividerLocation(130);
        zarzSplitPane.setDividerSize(2);
        zarzSplitPane.setName("zarzSplitPane"); // NOI18N

        jPanel6.setName("jPanel6"); // NOI18N

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        zarzSplitPane.setRightComponent(jPanel6);

        jScrollPane6.setName("jScrollPane6"); // NOI18N

        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Przeglądaj");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Pokaż klientów");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Pokaż dane klienta");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Pokaż typy kont");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Pokaż Użytkowników Systemu");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Zmień");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Usuń Klienta");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Usuń Konto");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Zmień Dane Klienta");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Dodaj");
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Dodaj Klienta");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Dodaj Konto");
        treeNode2.add(treeNode3);
        treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("Dodaj Typ Konta");
        treeNode2.add(treeNode3);
        treeNode1.add(treeNode2);
        menuTreeZ.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeZ.setName("menuTreeZ"); // NOI18N
        jScrollPane6.setViewportView(menuTreeZ);

        zarzSplitPane.setLeftComponent(jScrollPane6);

        bankierTabbedPane.addTab(resourceMap.getString("zarzSplitPane.TabConstraints.tabTitle"), zarzSplitPane); // NOI18N

        operacjeSplitPane.setDividerLocation(130);
        operacjeSplitPane.setDividerSize(2);
        operacjeSplitPane.setName("operacjeSplitPane"); // NOI18N

        jScrollPane8.setName("jScrollPane8"); // NOI18N

        treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("root");
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Wpłata");
        treeNode1.add(treeNode2);
        treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("Wypłata");
        treeNode1.add(treeNode2);
        menuTreeO.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
        menuTreeO.setName("menuTreeO"); // NOI18N
        menuTreeO.addTreeSelectionListener(new javax.swing.event.TreeSelectionListener() {
            public void valueChanged(javax.swing.event.TreeSelectionEvent evt) {
                menuTreeOValueChanged(evt);
            }
        });
        jScrollPane8.setViewportView(menuTreeO);

        operacjeSplitPane.setLeftComponent(jScrollPane8);

        operacjeLayeredPane.setName("operacjeLayeredPane"); // NOI18N

        panelPustyOper.setName("panelPustyOper"); // NOI18N

        javax.swing.GroupLayout panelPustyOperLayout = new javax.swing.GroupLayout(panelPustyOper);
        panelPustyOper.setLayout(panelPustyOperLayout);
        panelPustyOperLayout.setHorizontalGroup(
            panelPustyOperLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        panelPustyOperLayout.setVerticalGroup(
            panelPustyOperLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        panelPustyOper.setBounds(0, 0, 703, 404);
        operacjeLayeredPane.add(panelPustyOper, new Integer(10));

        panelOperWpl.setName("panelOperWpl"); // NOI18N

        operNrKontText2.setName("operNrKontText2"); // NOI18N

        operWykonajWpBtn.setText(resourceMap.getString("operWykonajWpBtn.text")); // NOI18N
        operWykonajWpBtn.setName("operWykonajWpBtn"); // NOI18N
        operWykonajWpBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                operWykonajWpBtnActionPerformed(evt);
            }
        });

        jTextField4.setName("jTextField4"); // NOI18N

        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        jLabel49.setText(resourceMap.getString("jLabel49.text")); // NOI18N
        jLabel49.setName("jLabel49"); // NOI18N

        jLabel50.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel50.setText(resourceMap.getString("jLabel50.text")); // NOI18N
        jLabel50.setName("jLabel50"); // NOI18N

        javax.swing.GroupLayout panelOperWplLayout = new javax.swing.GroupLayout(panelOperWpl);
        panelOperWpl.setLayout(panelOperWplLayout);
        panelOperWplLayout.setHorizontalGroup(
            panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 700, Short.MAX_VALUE)
            .addGroup(panelOperWplLayout.createSequentialGroup()
                .addGroup(panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelOperWplLayout.createSequentialGroup()
                        .addGap(113, 113, 113)
                        .addGroup(panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel49)
                            .addComponent(jLabel16))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextField4)
                            .addComponent(operNrKontText2, javax.swing.GroupLayout.PREFERRED_SIZE, 352, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(panelOperWplLayout.createSequentialGroup()
                        .addGap(307, 307, 307)
                        .addComponent(operWykonajWpBtn))
                    .addGroup(panelOperWplLayout.createSequentialGroup()
                        .addGap(309, 309, 309)
                        .addComponent(jLabel50)))
                .addContainerGap(150, Short.MAX_VALUE))
        );
        panelOperWplLayout.setVerticalGroup(
            panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
            .addGroup(panelOperWplLayout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(jLabel50)
                .addGap(43, 43, 43)
                .addGroup(panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel16)
                    .addComponent(operNrKontText2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(65, 65, 65)
                .addGroup(panelOperWplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel49)
                    .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(78, 78, 78)
                .addComponent(operWykonajWpBtn)
                .addContainerGap(95, Short.MAX_VALUE))
        );

        panelOperWpl.setBounds(0, 0, 700, 400);
        operacjeLayeredPane.add(panelOperWpl, new Integer(9));

        panelOperWypl.setName("panelOperWypl"); // NOI18N

        operNrKontText1.setName("operNrKontText1"); // NOI18N

        operWykonajWypBtn.setText(resourceMap.getString("operWykonajWypBtn.text")); // NOI18N
        operWykonajWypBtn.setName("operWykonajWypBtn"); // NOI18N
        operWykonajWypBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                operWykonajWypBtnActionPerformed(evt);
            }
        });

        jTextField3.setName("jTextField3"); // NOI18N

        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        jLabel48.setFont(resourceMap.getFont("jLabel48.font")); // NOI18N
        jLabel48.setText(resourceMap.getString("jLabel48.text")); // NOI18N
        jLabel48.setName("jLabel48"); // NOI18N

        javax.swing.GroupLayout panelOperWyplLayout = new javax.swing.GroupLayout(panelOperWypl);
        panelOperWypl.setLayout(panelOperWyplLayout);
        panelOperWyplLayout.setHorizontalGroup(
            panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelOperWyplLayout.createSequentialGroup()
                .addGroup(panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelOperWyplLayout.createSequentialGroup()
                        .addGap(113, 113, 113)
                        .addGroup(panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel15)
                            .addComponent(jLabel14))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextField3)
                            .addComponent(operNrKontText1, javax.swing.GroupLayout.PREFERRED_SIZE, 352, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(panelOperWyplLayout.createSequentialGroup()
                        .addGap(307, 307, 307)
                        .addComponent(operWykonajWypBtn))
                    .addGroup(panelOperWyplLayout.createSequentialGroup()
                        .addGap(309, 309, 309)
                        .addComponent(jLabel48)))
                .addContainerGap(153, Short.MAX_VALUE))
        );
        panelOperWyplLayout.setVerticalGroup(
            panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelOperWyplLayout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(jLabel48)
                .addGap(43, 43, 43)
                .addGroup(panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel14)
                    .addComponent(operNrKontText1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(65, 65, 65)
                .addGroup(panelOperWyplLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(78, 78, 78)
                .addComponent(operWykonajWypBtn)
                .addContainerGap(99, Short.MAX_VALUE))
        );

        panelOperWypl.setBounds(0, 0, 703, 404);
        operacjeLayeredPane.add(panelOperWypl, new Integer(9));

        operacjeSplitPane.setRightComponent(operacjeLayeredPane);

        bankierTabbedPane.addTab(resourceMap.getString("operacjeSplitPane.TabConstraints.tabTitle"), operacjeSplitPane); // NOI18N

        javax.swing.GroupLayout bankierPanelLayout = new javax.swing.GroupLayout(bankierPanel);
        bankierPanel.setLayout(bankierPanelLayout);
        bankierPanelLayout.setHorizontalGroup(
            bankierPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, bankierPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel9)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel10)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(bankierNazwaLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 508, Short.MAX_VALUE)
                .addComponent(LogOutBtn1))
            .addComponent(bankierTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        bankierPanelLayout.setVerticalGroup(
            bankierPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(bankierPanelLayout.createSequentialGroup()
                .addGroup(bankierPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LogOutBtn1)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10)
                    .addComponent(jLabel11)
                    .addComponent(bankierNazwaLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(bankierTabbedPane, javax.swing.GroupLayout.DEFAULT_SIZE, 434, Short.MAX_VALUE))
        );

        bankierTabbedPane.getAccessibleContext().setAccessibleName(resourceMap.getString("zarzTabbedPane.AccessibleContext.accessibleName")); // NOI18N

        bankierPanel.setBounds(0, 0, 841, 466);
        panelWarstwowy.add(bankierPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        adminPanel.setName("adminPanel"); // NOI18N
        adminPanel.setVerifyInputWhenFocusTarget(false);

        LogOutBtn2.setText(resourceMap.getString("LogOutBtn2.text")); // NOI18N
        LogOutBtn2.setName("LogOutBtn2"); // NOI18N
        LogOutBtn2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogOutBtn2ActionPerformed(evt);
            }
        });

        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        jLabel18.setForeground(resourceMap.getColor("jLabel18.foreground")); // NOI18N
        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        jLabel20.setForeground(resourceMap.getColor("jLabel20.foreground")); // NOI18N
        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        jTabbedPane3.setName("jTabbedPane3"); // NOI18N

        jSplitPane9.setDividerLocation(130);
        jSplitPane9.setDividerSize(2);
        jSplitPane9.setName("jSplitPane9"); // NOI18N

        jPanel10.setName("jPanel10"); // NOI18N

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane9.setRightComponent(jPanel10);

        jScrollPane11.setName("jScrollPane11"); // NOI18N

        menuTreeR2.setName("menuTreeR2"); // NOI18N
        jScrollPane11.setViewportView(menuTreeR2);

        jSplitPane9.setLeftComponent(jScrollPane11);

        jTabbedPane3.addTab(resourceMap.getString("jSplitPane9.TabConstraints.tabTitle"), jSplitPane9); // NOI18N

        jSplitPane10.setDividerLocation(130);
        jSplitPane10.setDividerSize(2);
        jSplitPane10.setName("jSplitPane10"); // NOI18N

        jScrollPane12.setName("jScrollPane12"); // NOI18N

        jList8.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Przelew Jednorazowy", "Polecenie Zapłaty", "Zlecenie Stałe" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList8.setName("jList8"); // NOI18N
        jScrollPane12.setViewportView(jList8);

        jSplitPane10.setLeftComponent(jScrollPane12);

        jPanel11.setName("jPanel11"); // NOI18N

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane10.setRightComponent(jPanel11);

        jTabbedPane3.addTab(resourceMap.getString("jSplitPane10.TabConstraints.tabTitle"), jSplitPane10); // NOI18N

        jSplitPane11.setDividerLocation(130);
        jSplitPane11.setDividerSize(2);
        jSplitPane11.setName("jSplitPane11"); // NOI18N

        jScrollPane13.setName("jScrollPane13"); // NOI18N

        jList9.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Kanały dostępu", "Narzędzia autoryzacyjne", "Dane osobowe", "Profil Inwestycyjny" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList9.setName("jList9"); // NOI18N
        jScrollPane13.setViewportView(jList9);

        jSplitPane11.setLeftComponent(jScrollPane13);

        jPanel12.setName("jPanel12"); // NOI18N

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane11.setRightComponent(jPanel12);

        jTabbedPane3.addTab(resourceMap.getString("jSplitPane11.TabConstraints.tabTitle"), jSplitPane11); // NOI18N

        jSplitPane12.setDividerLocation(130);
        jSplitPane12.setDividerSize(2);
        jSplitPane12.setName("jSplitPane12"); // NOI18N

        jScrollPane14.setName("jScrollPane14"); // NOI18N

        jList10.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Nowe zgłoszenie" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList10.setName("jList10"); // NOI18N
        jScrollPane14.setViewportView(jList10);

        jSplitPane12.setLeftComponent(jScrollPane14);

        jPanel13.setName("jPanel13"); // NOI18N

        jLabel21.setFont(resourceMap.getFont("jLabel21.font")); // NOI18N
        jLabel21.setForeground(resourceMap.getColor("jLabel21.foreground")); // NOI18N
        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N

        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N

        jLabel24.setText(resourceMap.getString("jLabel24.text")); // NOI18N
        jLabel24.setName("jLabel24"); // NOI18N

        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Wybierz", "Pytanie", "Reklamacja", "Skarga", "Wniosek", " " }));
        jComboBox3.setName("jComboBox3"); // NOI18N

        jScrollPane15.setName("jScrollPane15"); // NOI18N

        jTextArea3.setColumns(20);
        jTextArea3.setRows(5);
        jTextArea3.setName("jTextArea3"); // NOI18N
        jScrollPane15.setViewportView(jTextArea3);

        jRadioButton7.setText(resourceMap.getString("jRadioButton7.text")); // NOI18N
        jRadioButton7.setName("jRadioButton7"); // NOI18N

        jRadioButton8.setText(resourceMap.getString("jRadioButton8.text")); // NOI18N
        jRadioButton8.setName("jRadioButton8"); // NOI18N

        jRadioButton9.setText(resourceMap.getString("jRadioButton9.text")); // NOI18N
        jRadioButton9.setName("jRadioButton9"); // NOI18N

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addGap(36, 36, 36)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel21)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel23)
                            .addComponent(jLabel22)
                            .addComponent(jLabel24))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton8)
                            .addComponent(jRadioButton7)
                            .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jRadioButton9))))
                .addContainerGap(371, Short.MAX_VALUE))
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addGap(29, 29, 29)
                .addComponent(jLabel21)
                .addGap(33, 33, 33)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(jComboBox3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addComponent(jLabel23))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(jLabel24))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(jRadioButton7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton8)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton9)
                .addContainerGap(89, Short.MAX_VALUE))
        );

        jSplitPane12.setRightComponent(jPanel13);

        jTabbedPane3.addTab(resourceMap.getString("jSplitPane12.TabConstraints.tabTitle"), jSplitPane12); // NOI18N

        javax.swing.GroupLayout adminPanelLayout = new javax.swing.GroupLayout(adminPanel);
        adminPanel.setLayout(adminPanelLayout);
        adminPanelLayout.setHorizontalGroup(
            adminPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, adminPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel17)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel18)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 467, Short.MAX_VALUE)
                .addComponent(LogOutBtn2))
            .addComponent(jTabbedPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        adminPanelLayout.setVerticalGroup(
            adminPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(adminPanelLayout.createSequentialGroup()
                .addGroup(adminPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LogOutBtn2)
                    .addComponent(jLabel17)
                    .addComponent(jLabel18)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 434, Short.MAX_VALUE))
        );

        adminPanel.setBounds(0, 0, 841, 466);
        panelWarstwowy.add(adminPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        adminKlientPanel.setName("adminKlientPanel"); // NOI18N
        adminKlientPanel.setVerifyInputWhenFocusTarget(false);

        LogOutBtn3.setText(resourceMap.getString("LogOutBtn3.text")); // NOI18N
        LogOutBtn3.setName("LogOutBtn3"); // NOI18N
        LogOutBtn3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogOutBtn3ActionPerformed(evt);
            }
        });

        jLabel25.setText(resourceMap.getString("jLabel25.text")); // NOI18N
        jLabel25.setName("jLabel25"); // NOI18N

        jLabel26.setForeground(resourceMap.getColor("jLabel26.foreground")); // NOI18N
        jLabel26.setText(resourceMap.getString("jLabel26.text")); // NOI18N
        jLabel26.setName("jLabel26"); // NOI18N

        jLabel27.setText(resourceMap.getString("jLabel27.text")); // NOI18N
        jLabel27.setName("jLabel27"); // NOI18N

        jLabel28.setForeground(resourceMap.getColor("jLabel28.foreground")); // NOI18N
        jLabel28.setText(resourceMap.getString("jLabel28.text")); // NOI18N
        jLabel28.setName("jLabel28"); // NOI18N

        jTabbedPane4.setName("jTabbedPane4"); // NOI18N

        jSplitPane13.setDividerLocation(130);
        jSplitPane13.setDividerSize(2);
        jSplitPane13.setName("jSplitPane13"); // NOI18N

        jPanel14.setName("jPanel14"); // NOI18N

        javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane13.setRightComponent(jPanel14);

        jScrollPane16.setName("jScrollPane16"); // NOI18N

        menuTreeR3.setName("menuTreeR3"); // NOI18N
        jScrollPane16.setViewportView(menuTreeR3);

        jSplitPane13.setLeftComponent(jScrollPane16);

        jTabbedPane4.addTab(resourceMap.getString("jSplitPane13.TabConstraints.tabTitle"), jSplitPane13); // NOI18N

        jSplitPane14.setDividerLocation(130);
        jSplitPane14.setDividerSize(2);
        jSplitPane14.setName("jSplitPane14"); // NOI18N

        jScrollPane17.setName("jScrollPane17"); // NOI18N

        jList11.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Przelew Jednorazowy", "Polecenie Zapłaty", "Zlecenie Stałe" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList11.setName("jList11"); // NOI18N
        jScrollPane17.setViewportView(jList11);

        jSplitPane14.setLeftComponent(jScrollPane17);

        jPanel15.setName("jPanel15"); // NOI18N

        javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15);
        jPanel15.setLayout(jPanel15Layout);
        jPanel15Layout.setHorizontalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel15Layout.setVerticalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane14.setRightComponent(jPanel15);

        jTabbedPane4.addTab(resourceMap.getString("jSplitPane14.TabConstraints.tabTitle"), jSplitPane14); // NOI18N

        jSplitPane15.setDividerLocation(130);
        jSplitPane15.setDividerSize(2);
        jSplitPane15.setName("jSplitPane15"); // NOI18N

        jScrollPane18.setName("jScrollPane18"); // NOI18N

        jList12.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Kanały dostępu", "Narzędzia autoryzacyjne", "Dane osobowe", "Profil Inwestycyjny" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList12.setName("jList12"); // NOI18N
        jScrollPane18.setViewportView(jList12);

        jSplitPane15.setLeftComponent(jScrollPane18);

        jPanel16.setName("jPanel16"); // NOI18N

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane15.setRightComponent(jPanel16);

        jTabbedPane4.addTab(resourceMap.getString("jSplitPane15.TabConstraints.tabTitle"), jSplitPane15); // NOI18N

        jSplitPane16.setDividerLocation(130);
        jSplitPane16.setDividerSize(2);
        jSplitPane16.setName("jSplitPane16"); // NOI18N

        jScrollPane19.setName("jScrollPane19"); // NOI18N

        jList13.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Nowe zgłoszenie" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList13.setName("jList13"); // NOI18N
        jScrollPane19.setViewportView(jList13);

        jSplitPane16.setLeftComponent(jScrollPane19);

        jPanel17.setName("jPanel17"); // NOI18N

        jLabel29.setFont(resourceMap.getFont("jLabel29.font")); // NOI18N
        jLabel29.setForeground(resourceMap.getColor("jLabel29.foreground")); // NOI18N
        jLabel29.setText(resourceMap.getString("jLabel29.text")); // NOI18N
        jLabel29.setName("jLabel29"); // NOI18N

        jLabel30.setText(resourceMap.getString("jLabel30.text")); // NOI18N
        jLabel30.setName("jLabel30"); // NOI18N

        jLabel31.setText(resourceMap.getString("jLabel31.text")); // NOI18N
        jLabel31.setName("jLabel31"); // NOI18N

        jLabel32.setText(resourceMap.getString("jLabel32.text")); // NOI18N
        jLabel32.setName("jLabel32"); // NOI18N

        jComboBox4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Wybierz", "Pytanie", "Reklamacja", "Skarga", "Wniosek", " " }));
        jComboBox4.setName("jComboBox4"); // NOI18N

        jScrollPane20.setName("jScrollPane20"); // NOI18N

        jTextArea4.setColumns(20);
        jTextArea4.setRows(5);
        jTextArea4.setName("jTextArea4"); // NOI18N
        jScrollPane20.setViewportView(jTextArea4);

        jRadioButton10.setText(resourceMap.getString("jRadioButton10.text")); // NOI18N
        jRadioButton10.setName("jRadioButton10"); // NOI18N

        jRadioButton11.setText(resourceMap.getString("jRadioButton11.text")); // NOI18N
        jRadioButton11.setName("jRadioButton11"); // NOI18N

        jRadioButton12.setText(resourceMap.getString("jRadioButton12.text")); // NOI18N
        jRadioButton12.setName("jRadioButton12"); // NOI18N

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addGap(36, 36, 36)
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel29)
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel31)
                            .addComponent(jLabel30)
                            .addComponent(jLabel32))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton11)
                            .addComponent(jRadioButton10)
                            .addComponent(jScrollPane20, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jRadioButton12))))
                .addContainerGap(371, Short.MAX_VALUE))
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addGap(29, 29, 29)
                .addComponent(jLabel29)
                .addGap(33, 33, 33)
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel30)
                    .addComponent(jComboBox4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addComponent(jLabel31))
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jScrollPane20, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(jLabel32))
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(jRadioButton10)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton11)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton12)
                .addContainerGap(89, Short.MAX_VALUE))
        );

        jSplitPane16.setRightComponent(jPanel17);

        jTabbedPane4.addTab(resourceMap.getString("jSplitPane16.TabConstraints.tabTitle"), jSplitPane16); // NOI18N

        jLabel43.setText(resourceMap.getString("jLabel43.text")); // NOI18N
        jLabel43.setName("jLabel43"); // NOI18N

        jLabel44.setForeground(resourceMap.getColor("jLabel44.foreground")); // NOI18N
        jLabel44.setText(resourceMap.getString("jLabel44.text")); // NOI18N
        jLabel44.setName("jLabel44"); // NOI18N

        javax.swing.GroupLayout adminKlientPanelLayout = new javax.swing.GroupLayout(adminKlientPanel);
        adminKlientPanel.setLayout(adminKlientPanelLayout);
        adminKlientPanelLayout.setHorizontalGroup(
            adminKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, adminKlientPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel25)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel26)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel27)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel28)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel43)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel44)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 333, Short.MAX_VALUE)
                .addComponent(LogOutBtn3))
            .addComponent(jTabbedPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        adminKlientPanelLayout.setVerticalGroup(
            adminKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(adminKlientPanelLayout.createSequentialGroup()
                .addGroup(adminKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LogOutBtn3)
                    .addComponent(jLabel25)
                    .addComponent(jLabel26)
                    .addComponent(jLabel27)
                    .addComponent(jLabel28)
                    .addComponent(jLabel43)
                    .addComponent(jLabel44))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane4, javax.swing.GroupLayout.DEFAULT_SIZE, 434, Short.MAX_VALUE))
        );

        adminKlientPanel.setBounds(0, 0, 841, 466);
        panelWarstwowy.add(adminKlientPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        bankierKlientPanel.setName("bankierKlientPanel"); // NOI18N
        bankierKlientPanel.setVerifyInputWhenFocusTarget(false);

        LogOutBtn4.setText(resourceMap.getString("LogOutBtn4.text")); // NOI18N
        LogOutBtn4.setName("LogOutBtn4"); // NOI18N
        LogOutBtn4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                LogOutBtn4ActionPerformed(evt);
            }
        });

        jLabel33.setText(resourceMap.getString("jLabel33.text")); // NOI18N
        jLabel33.setName("jLabel33"); // NOI18N

        jLabel34.setForeground(resourceMap.getColor("jLabel34.foreground")); // NOI18N
        jLabel34.setText(resourceMap.getString("jLabel34.text")); // NOI18N
        jLabel34.setName("jLabel34"); // NOI18N

        jLabel35.setText(resourceMap.getString("jLabel35.text")); // NOI18N
        jLabel35.setName("jLabel35"); // NOI18N

        jLabel36.setForeground(resourceMap.getColor("jLabel36.foreground")); // NOI18N
        jLabel36.setText(resourceMap.getString("jLabel36.text")); // NOI18N
        jLabel36.setName("jLabel36"); // NOI18N

        jTabbedPane5.setName("jTabbedPane5"); // NOI18N

        jSplitPane17.setDividerLocation(130);
        jSplitPane17.setDividerSize(2);
        jSplitPane17.setName("jSplitPane17"); // NOI18N

        jPanel18.setName("jPanel18"); // NOI18N

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane17.setRightComponent(jPanel18);

        jScrollPane21.setName("jScrollPane21"); // NOI18N

        menuTreeR4.setName("menuTreeR4"); // NOI18N
        jScrollPane21.setViewportView(menuTreeR4);

        jSplitPane17.setLeftComponent(jScrollPane21);

        jTabbedPane5.addTab(resourceMap.getString("jSplitPane17.TabConstraints.tabTitle"), jSplitPane17); // NOI18N

        jSplitPane18.setDividerLocation(130);
        jSplitPane18.setDividerSize(2);
        jSplitPane18.setName("jSplitPane18"); // NOI18N

        jScrollPane22.setName("jScrollPane22"); // NOI18N

        jList14.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Przelew Jednorazowy", "Polecenie Zapłaty", "Zlecenie Stałe" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList14.setName("jList14"); // NOI18N
        jScrollPane22.setViewportView(jList14);

        jSplitPane18.setLeftComponent(jScrollPane22);

        jPanel19.setName("jPanel19"); // NOI18N

        javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19);
        jPanel19.setLayout(jPanel19Layout);
        jPanel19Layout.setHorizontalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel19Layout.setVerticalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane18.setRightComponent(jPanel19);

        jScrollPane26.setName("jScrollPane26"); // NOI18N

        menuTreeT.setName("menuTreeT"); // NOI18N
        jScrollPane26.setViewportView(menuTreeT);

        jSplitPane18.setLeftComponent(jScrollPane26);

        jTabbedPane5.addTab(resourceMap.getString("jSplitPane18.TabConstraints.tabTitle"), jSplitPane18); // NOI18N

        jSplitPane19.setDividerLocation(130);
        jSplitPane19.setDividerSize(2);
        jSplitPane19.setName("jSplitPane19"); // NOI18N

        jScrollPane23.setName("jScrollPane23"); // NOI18N

        jList15.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Kanały dostępu", "Narzędzia autoryzacyjne", "Dane osobowe", "Profil Inwestycyjny" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList15.setName("jList15"); // NOI18N
        jScrollPane23.setViewportView(jList15);

        jSplitPane19.setLeftComponent(jScrollPane23);

        jPanel20.setName("jPanel20"); // NOI18N

        javax.swing.GroupLayout jPanel20Layout = new javax.swing.GroupLayout(jPanel20);
        jPanel20.setLayout(jPanel20Layout);
        jPanel20Layout.setHorizontalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 703, Short.MAX_VALUE)
        );
        jPanel20Layout.setVerticalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        jSplitPane19.setRightComponent(jPanel20);

        jTabbedPane5.addTab(resourceMap.getString("jSplitPane19.TabConstraints.tabTitle"), jSplitPane19); // NOI18N

        jSplitPane20.setDividerLocation(130);
        jSplitPane20.setDividerSize(2);
        jSplitPane20.setName("jSplitPane20"); // NOI18N

        jScrollPane24.setName("jScrollPane24"); // NOI18N

        jList16.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Nowe zgłoszenie" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        jList16.setName("jList16"); // NOI18N
        jScrollPane24.setViewportView(jList16);

        jSplitPane20.setLeftComponent(jScrollPane24);

        jPanel21.setName("jPanel21"); // NOI18N

        jLabel37.setFont(resourceMap.getFont("jLabel37.font")); // NOI18N
        jLabel37.setForeground(resourceMap.getColor("jLabel37.foreground")); // NOI18N
        jLabel37.setText(resourceMap.getString("jLabel37.text")); // NOI18N
        jLabel37.setName("jLabel37"); // NOI18N

        jLabel38.setText(resourceMap.getString("jLabel38.text")); // NOI18N
        jLabel38.setName("jLabel38"); // NOI18N

        jLabel39.setText(resourceMap.getString("jLabel39.text")); // NOI18N
        jLabel39.setName("jLabel39"); // NOI18N

        jLabel40.setText(resourceMap.getString("jLabel40.text")); // NOI18N
        jLabel40.setName("jLabel40"); // NOI18N

        jComboBox5.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Wybierz", "Pytanie", "Reklamacja", "Skarga", "Wniosek", " " }));
        jComboBox5.setName("jComboBox5"); // NOI18N

        jScrollPane25.setName("jScrollPane25"); // NOI18N

        jTextArea5.setColumns(20);
        jTextArea5.setRows(5);
        jTextArea5.setName("jTextArea5"); // NOI18N
        jScrollPane25.setViewportView(jTextArea5);

        jRadioButton13.setText(resourceMap.getString("jRadioButton13.text")); // NOI18N
        jRadioButton13.setName("jRadioButton13"); // NOI18N

        jRadioButton14.setText(resourceMap.getString("jRadioButton14.text")); // NOI18N
        jRadioButton14.setName("jRadioButton14"); // NOI18N

        jRadioButton15.setText(resourceMap.getString("jRadioButton15.text")); // NOI18N
        jRadioButton15.setName("jRadioButton15"); // NOI18N

        javax.swing.GroupLayout jPanel21Layout = new javax.swing.GroupLayout(jPanel21);
        jPanel21.setLayout(jPanel21Layout);
        jPanel21Layout.setHorizontalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel21Layout.createSequentialGroup()
                .addGap(36, 36, 36)
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel37)
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel39)
                            .addComponent(jLabel38)
                            .addComponent(jLabel40))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton14)
                            .addComponent(jRadioButton13)
                            .addComponent(jScrollPane25, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jComboBox5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jRadioButton15))))
                .addContainerGap(371, Short.MAX_VALUE))
        );
        jPanel21Layout.setVerticalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel21Layout.createSequentialGroup()
                .addGap(29, 29, 29)
                .addComponent(jLabel37)
                .addGap(33, 33, 33)
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel38)
                    .addComponent(jComboBox5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addComponent(jLabel39))
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jScrollPane25, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addComponent(jLabel40))
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addGap(7, 7, 7)
                        .addComponent(jRadioButton13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton14)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButton15)
                .addContainerGap(89, Short.MAX_VALUE))
        );

        jSplitPane20.setRightComponent(jPanel21);

        jTabbedPane5.addTab(resourceMap.getString("jSplitPane20.TabConstraints.tabTitle"), jSplitPane20); // NOI18N

        jLabel41.setText(resourceMap.getString("jLabel41.text")); // NOI18N
        jLabel41.setName("jLabel41"); // NOI18N

        jLabel42.setForeground(resourceMap.getColor("jLabel42.foreground")); // NOI18N
        jLabel42.setText(resourceMap.getString("jLabel42.text")); // NOI18N
        jLabel42.setName("jLabel42"); // NOI18N

        javax.swing.GroupLayout bankierKlientPanelLayout = new javax.swing.GroupLayout(bankierKlientPanel);
        bankierKlientPanel.setLayout(bankierKlientPanelLayout);
        bankierKlientPanelLayout.setHorizontalGroup(
            bankierKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, bankierKlientPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel33)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel34)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel35)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel36)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel41)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel42)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 367, Short.MAX_VALUE)
                .addComponent(LogOutBtn4))
            .addComponent(jTabbedPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        bankierKlientPanelLayout.setVerticalGroup(
            bankierKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(bankierKlientPanelLayout.createSequentialGroup()
                .addGroup(bankierKlientPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(LogOutBtn4)
                    .addComponent(jLabel33)
                    .addComponent(jLabel34)
                    .addComponent(jLabel35)
                    .addComponent(jLabel36)
                    .addComponent(jLabel41)
                    .addComponent(jLabel42))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 434, Short.MAX_VALUE))
        );

        bankierKlientPanel.setBounds(0, 0, 841, 466);
        panelWarstwowy.add(bankierKlientPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelWarstwowy, javax.swing.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelWarstwowy, javax.swing.GroupLayout.DEFAULT_SIZE, 466, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
/**
     * Metoda wywoływana w przypadku kliknięcia przycisku wyloguj w oknie głównym
     * Metoda powoduje powrót do okienka logowania
     * @param evt ActionEvent dla metody
     */
    private void LogOutBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogOutBtnActionPerformed
        
        new LoginFrame().setVisible(true);
        MainFrame.this.dispose();
    }//GEN-LAST:event_LogOutBtnActionPerformed

    private void LogOutBtn1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogOutBtn1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_LogOutBtn1ActionPerformed

    private void LogOutBtn2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogOutBtn2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_LogOutBtn2ActionPerformed

    private void LogOutBtn3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogOutBtn3ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_LogOutBtn3ActionPerformed

    private void LogOutBtn4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LogOutBtn4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_LogOutBtn4ActionPerformed

    private void menuTreeTKValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_menuTreeTKValueChanged
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)
                           menuTreeTK.getLastSelectedPathComponent();
        if(node == null){
            return;} 
        if(node.isLeaf()){
            System.out.println(node.getUserObject());
            transakcjePanel.setLayer(panelPrzelew, 20);
        }
    }//GEN-LAST:event_menuTreeTKValueChanged

    private void wykPrzelBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_wykPrzelBtnActionPerformed
       if(((Client)person).przelewWewnetrzny(kontoTCombo.getSelectedItem().toString(), kontoDestTextField.getText(), Float.parseFloat(kwotaTextField.getText()))){
        JOptionPane.showMessageDialog(MainFrame.this, "Przelew udany","Info",JOptionPane.INFORMATION_MESSAGE);
        transakcjePanel.setLayer(panelPrzelew, 5);
       }else{
           JOptionPane.showMessageDialog(klientPanel, "Transakcja nieudana", "Błąd!", JOptionPane.ERROR_MESSAGE);
       }
        
    }//GEN-LAST:event_wykPrzelBtnActionPerformed

    private void menuTreeDKValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_menuTreeDKValueChanged
        // TODO add your handling code here:
    }//GEN-LAST:event_menuTreeDKValueChanged

    private void menuTreeKKValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_menuTreeKKValueChanged
       //klient menu tree listener
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)menuTreeKK.getLastSelectedPathComponent();
        if(node == null) return;
        if(node.isLeaf()){
            kontaktLayeredPane.setLayer(panelZgloszenie,11);
                    
        
        }
    }//GEN-LAST:event_menuTreeKKValueChanged

    private void kontaktWyslijBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_kontaktWyslijBtnActionPerformed
        JOptionPane.showMessageDialog(klientPanel, "Wiadomość wysłana", "Info", JOptionPane.INFORMATION_MESSAGE);
        kontaktLayeredPane.setLayer(panelZgloszenie,9);
    }//GEN-LAST:event_kontaktWyslijBtnActionPerformed

    private void menuTreeOValueChanged(javax.swing.event.TreeSelectionEvent evt) {//GEN-FIRST:event_menuTreeOValueChanged
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)menuTreeO.getLastSelectedPathComponent();
        
        if(node== null) return;
        
        if(node.isLeaf()){
            String zaznaczony = (String)node.getUserObject();
            System.out.println(zaznaczony);
            if(zaznaczony.equals("Wpłata")){
               operacjeLayeredPane.setLayer(panelOperWpl, 11);
               operacjeLayeredPane.moveToFront(panelOperWpl);
            }
            else if(zaznaczony.equals("Wypłata")){
                operacjeLayeredPane.setLayer(panelOperWypl, 11);
                operacjeLayeredPane.moveToFront(panelOperWypl);
            }
            else{
              operacjeLayeredPane.setLayer(panelOperWpl, 9);
              operacjeLayeredPane.setLayer(panelOperWypl, 9);
            }
        }
    }//GEN-LAST:event_menuTreeOValueChanged

    private void operWykonajWypBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_operWykonajWypBtnActionPerformed
        JOptionPane.showMessageDialog(MainFrame.this, "Wykonano", "Info", JOptionPane.INFORMATION_MESSAGE);
        operacjeLayeredPane.setLayer(panelOperWypl, 9);
    }//GEN-LAST:event_operWykonajWypBtnActionPerformed

    private void operWykonajWpBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_operWykonajWpBtnActionPerformed
        JOptionPane.showMessageDialog(MainFrame.this, "Wykonano", "Info", JOptionPane.INFORMATION_MESSAGE);
        operacjeLayeredPane.setLayer(panelOperWpl, 9);
        // TODO add your handling code here:
    }//GEN-LAST:event_operWykonajWpBtnActionPerformed

    /**
     * Obiekty-Kontrolki zadeklarowane przez Designera
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton LogOutBtn;
    private javax.swing.JButton LogOutBtn1;
    private javax.swing.JButton LogOutBtn2;
    private javax.swing.JButton LogOutBtn3;
    private javax.swing.JButton LogOutBtn4;
    private javax.swing.JPanel adminKlientPanel;
    private javax.swing.JPanel adminPanel;
    private javax.swing.JPanel bankierKlientPanel;
    private javax.swing.JLabel bankierNazwaLabel;
    private javax.swing.JPanel bankierPanel;
    private javax.swing.JTabbedPane bankierTabbedPane;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JComboBox jComboBox4;
    private javax.swing.JComboBox jComboBox5;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JList jList10;
    private javax.swing.JList jList11;
    private javax.swing.JList jList12;
    private javax.swing.JList jList13;
    private javax.swing.JList jList14;
    private javax.swing.JList jList15;
    private javax.swing.JList jList16;
    private javax.swing.JList jList8;
    private javax.swing.JList jList9;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel15;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel19;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel20;
    private javax.swing.JPanel jPanel21;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton10;
    private javax.swing.JRadioButton jRadioButton11;
    private javax.swing.JRadioButton jRadioButton12;
    private javax.swing.JRadioButton jRadioButton13;
    private javax.swing.JRadioButton jRadioButton14;
    private javax.swing.JRadioButton jRadioButton15;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton3;
    private javax.swing.JRadioButton jRadioButton7;
    private javax.swing.JRadioButton jRadioButton8;
    private javax.swing.JRadioButton jRadioButton9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane11;
    private javax.swing.JScrollPane jScrollPane12;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane16;
    private javax.swing.JScrollPane jScrollPane17;
    private javax.swing.JScrollPane jScrollPane18;
    private javax.swing.JScrollPane jScrollPane19;
    private javax.swing.JScrollPane jScrollPane20;
    private javax.swing.JScrollPane jScrollPane21;
    private javax.swing.JScrollPane jScrollPane22;
    private javax.swing.JScrollPane jScrollPane23;
    private javax.swing.JScrollPane jScrollPane24;
    private javax.swing.JScrollPane jScrollPane25;
    private javax.swing.JScrollPane jScrollPane26;
    private javax.swing.JScrollPane jScrollPane27;
    private javax.swing.JScrollPane jScrollPane28;
    private javax.swing.JScrollPane jScrollPane29;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JSplitPane jSplitPane10;
    private javax.swing.JSplitPane jSplitPane11;
    private javax.swing.JSplitPane jSplitPane12;
    private javax.swing.JSplitPane jSplitPane13;
    private javax.swing.JSplitPane jSplitPane14;
    private javax.swing.JSplitPane jSplitPane15;
    private javax.swing.JSplitPane jSplitPane16;
    private javax.swing.JSplitPane jSplitPane17;
    private javax.swing.JSplitPane jSplitPane18;
    private javax.swing.JSplitPane jSplitPane19;
    private javax.swing.JSplitPane jSplitPane20;
    private javax.swing.JSplitPane jSplitPane3;
    private javax.swing.JSplitPane jSplitPane9;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane3;
    private javax.swing.JTabbedPane jTabbedPane4;
    private javax.swing.JTabbedPane jTabbedPane5;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JTextArea jTextArea3;
    private javax.swing.JTextArea jTextArea4;
    private javax.swing.JTextArea jTextArea5;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JPanel klientPanel;
    private javax.swing.JLayeredPane kontaktLayeredPane;
    private javax.swing.JSplitPane kontaktSplitPane;
    private javax.swing.JButton kontaktWyslijBtn;
    private javax.swing.JTextField kontoDestTextField;
    private javax.swing.JComboBox kontoTCombo;
    private javax.swing.JTextField kwotaTextField;
    private javax.swing.JTree menuTreeDK;
    private javax.swing.JTree menuTreeKK;
    private javax.swing.JTree menuTreeO;
    private javax.swing.JTree menuTreeR;
    private javax.swing.JTree menuTreeR2;
    private javax.swing.JTree menuTreeR3;
    private javax.swing.JTree menuTreeR4;
    private javax.swing.JTree menuTreeT;
    private javax.swing.JTree menuTreeTK;
    private javax.swing.JTree menuTreeZ;
    private javax.swing.JLabel nazwaUzytkownikaLabel;
    private javax.swing.JTextField operNrKontText1;
    private javax.swing.JTextField operNrKontText2;
    private javax.swing.JButton operWykonajWpBtn;
    private javax.swing.JButton operWykonajWypBtn;
    private javax.swing.JLayeredPane operacjeLayeredPane;
    private javax.swing.JSplitPane operacjeSplitPane;
    private javax.swing.JPanel panelOperWpl;
    private javax.swing.JPanel panelOperWypl;
    private javax.swing.JPanel panelPrzelew;
    private javax.swing.JPanel panelPusty;
    private javax.swing.JPanel panelPustyKontakt;
    private javax.swing.JPanel panelPustyOper;
    private javax.swing.JLayeredPane panelWarstwowy;
    private javax.swing.JPanel panelZgloszenie;
    private javax.swing.JSplitPane rachunkiPane;
    private javax.swing.JSplitPane transakcjePane;
    private javax.swing.JLayeredPane transakcjePanel;
    private javax.swing.JButton wykPrzelBtn;
    private javax.swing.JSplitPane zarzSplitPane;
    // End of variables declaration//GEN-END:variables
}
